<%@ page language="java" pageEncoding="UTF-8"
	errorPage="/ui/defaultException.jsp"%>
<%@include file="/ui/tags.jsp"%>
<div class="hotel-detail-info">
	<div class="hotel-detail-imgs">
		<div class="imgs-left">
			<img class="lazy"
				data-original="${image_domain }${featureItem.source}${featureItem.normal}"
				src="${cpath}/resources/portal/img/grey.gif" />
		</div>
		<div class="imgs-right">
			<div class="imgs-right-first">
				<c:if test="${!empty featureItem.image1 }">
					<img class="lazy"
						data-original="${image_domain }${featureItem.image1.source}${featureItem.image1.small}"
						src="${cpath}/resources/portal/img/grey.gif" />
				</c:if>
			</div>
			<div class="imgs-right-second">
				<c:if test="${!empty featureItem.image2 }">
					<img class="lazy"
						data-original="${image_domain }${featureItem.image2.source}${featureItem.image2.small}"
						src="${cpath}/resources/portal/img/grey.gif" />
				</c:if>
			</div>
		</div>
	</div>
	<c:if test="${!empty featureItem.copyright }">
		<div class="hotel-detail-copy">（图片版权：${featureItem.copyright }）</div>
	</c:if>
	<div class="hotel-detail-left">
		<div class="hotel-detail-note">${featureItem.content }</div>
	</div>
	<c:if test="${featureItem.propertyVisible == 1 }">
		<div class="hotel-detail-note2">
			<ul class="hotel-detail-other">
				<c:if test="${!empty featureItem.menu }">
					<li><span class="l">菜系：</span> <span class="r">${featureItem.menu
							}</span>
					</li>
				</c:if>
				<c:if test="${!empty featureItem.price }">
					<li><span class="l">价格：</span> <span class="r">${featureItem.price
							}</span>
					</li>
				</c:if>
				<c:if test="${!empty featureItem.openTime }">
					<li><span class="l">营业时间：</span> <span class="r">${featureItem.openTime}</span>
					</li>
				</c:if>
				<c:if test="${!empty featureItem.note }">
					<li><span class="l">提示：</span> <span class="r">${featureItem.note
							}</span>
					</li>
				</c:if>

				<c:if test="${!empty featureItem.logo }">
					<li class="sqr">
						<div class="hotel-logo">
							<a href="${featureItem.url }" target="_blank"> <img
								src="${image_domain }${featureItem.logo}" /> </a>
						</div></li>
				</c:if>
				<c:if test="${!empty featureItem.address }">
					<li><span class="l">地址：</span> <span class="r">${featureItem.address
							}</span>
					</li>
				</c:if>
				<c:if test="${!empty featureItem.tel }">
					<li><span class="l">电话：</span> <span class="r">${featureItem.tel
							}</span>
					</li>
				</c:if>

				<c:if test="${!empty featureItem.email }">
					<li><span class="l">邮箱：</span> <span class="r">${featureItem.email
							}</span>
					</li>
				</c:if>
			</ul>
		</div>
	</c:if>
	<%-- 
           <div class="hotel-detail-copy">
               （图片版权：©WienTourismus / Peter Rigaud Legend: St. Stephen’s Cathedral: view from St.
               Stephen’s Cathedral, the Fiakers）
           </div>
           <div class="hotel-detail-share">
               113*45 这里放置js
           </div>
           --%>
    <div class="clear14px"></div>
	<c:forEach var="subItem" items="${featureItem.subItems }" varStatus="status">
		<c:choose>
			<c:when test="${fn:length(subItem.images) == 1}">
			    <c:if test="${!empty  subItem.zhname}">
					<div class="hotel-details-other-title">${subItem.zhname }</div>
				</c:if>
				<c:if test="${status.count != 1 }">
				<div class="clear14px"></div>
				</c:if>
				<div class="hotel-detail-imgs2">
					<img class="lazy"
						data-original="${image_domain }${subItem.images[0].source}"
						src="${cpath}/resources/portal/img/grey.gif" />
				</div>
				<c:if test="${!empty subItem.content }">
				<div class="hotel-details-other-note">${subItem.content }</div>
				</c:if>
			</c:when>
			<c:when test="${fn:length(subItem.images) == 2}">
			    <c:if test="${!empty  subItem.zhname}">
					<div class="hotel-details-other-title">${subItem.zhname }</div>
			    </c:if>
			    <c:if test="${status.count != 1 }">
				<div class="clear14px"></div>
				</c:if>
				<div class="hotel-detail-img4">
					<div class="hotel-detail-img4-img">
						<img class="lazy"
							data-original="${image_domain }${subItem.images[0].source}${subItem.images[0].middle}"
							src="${cpath}/resources/portal/img/grey.gif" />
					</div>
					<div class="hotel-detail-img4-img">
						<img class="lazy"
							data-original="${image_domain }${subItem.images[1].source}${subItem.images[1].middle}"
							src="${cpath}/resources/portal/img/grey.gif" />
					</div>
				</div>
				<c:if test="${!empty subItem.content }">
				<div class="hotel-details-other-note">${subItem.content }</div>
				</c:if>
			</c:when>
			<c:when test="${fn:length(subItem.images) == 3}">
				<c:if test="${!empty subItem.zhname }">
				<div class="hotel-details-other-title">${subItem.zhname }</div>
				</c:if>
				<c:if test="${status.count != 1 }">
				<div class="clear14px"></div>
				</c:if>
				<div class="hotel-detail-imgs">
					<div class="imgs-left">
						<img class="lazy"
							data-original="${image_domain }${subItem.images[0].source}${subItem.images[0].normal}"
							src="${cpath}/resources/portal/img/grey.gif" />
					</div>
					<div class="imgs-right">
						<div class="imgs-right-first">
							<img class="lazy"
								data-original="${image_domain }${subItem.images[1].source}${subItem.images[1].small}"
								src="${cpath}/resources/portal/img/grey.gif" />
						</div>
						<div class="imgs-right-second">
							<img class="lazy"
								data-original="${image_domain }${subItem.images[2].source}${subItem.images[2].small}"
								src="${cpath}/resources/portal/img/grey.gif" />
						</div>
					</div>
				</div>
				<c:if test="${!empty subItem.content }">
				<div class="hotel-details-other-note">${subItem.content }</div>
				</c:if>
			</c:when>
			<c:otherwise>
				<c:if test="${!empty  subItem.zhname}">
				<div class="hotel-details-other-title">${subItem.zhname }</div>
				</c:if>
				<c:if test="${status.count != 1 }">
				<div class="clear14px"></div>
				</c:if>
				<div class="hotel-detail-img3">
					<c:forEach var="image" items="${subItem.images }">
						<div class="hotel-detail-img3-img">
							<img class="lazy"
								data-original="${image_domain }${image.source}${image.small}"
								src="${cpath}/resources/portal/img/grey.gif" />
						</div>
					</c:forEach>
				</div>
				<c:if test="${!empty subItem.content }">
				<div class="hotel-details-other-note">${subItem.content }</div>
				</c:if>
			</c:otherwise>
		</c:choose>
	</c:forEach>
	<div class=" clear1"></div>
</div>
